composer create-project laravel/laravel example-app
cd example-app
php artisan serve
After Installing Composer
composer create-project laravel/laravel myproject
//for authentication using jetstream etc.
composer require laravel/jetstream
//set database in .env file
php artisan migrate
php artisan serve